﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IThrottleRequestsByTime.cs" company="XamlNinja">
//   2011 Richard Griffin and Ollie Riches
// </copyright>
// <summary>
//   Interface for throttling requests by time - some endpoints restrict the number of calls allowed per second
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace WP7Contrib.Communications
{
    using System;

    /// <summary>
    /// Interface for throttling requests by time - some endpoints restrict the number of calls allowed per second 
    /// </summary>
    public interface IThrottleRequestsByTime
    {
        /// <summary>
        /// Gets the time to wait for before next request.
        /// </summary>
        TimeSpan WaitFor { get; }
    }
}